//int a;
//for (a = 5; a < 5; a = a + 1) {
//    print 0;
//}

int a;
a = 5;
while (a + 3 < 10) {
      read a;
      print a + 3;
      print a + 3 < 10;
};